﻿using System;
using System.Collections.Generic;
using System.Text;
using GFrame.Shadow;

namespace EZCRS.HCMS.Entity
{
    /// <summary>
    /// 收件人地址
    /// </summary>
    [GTable("HCRS_AIR_NOTIFY_ADDRESSEE")]
    public class HCRS_AIR_NOTIFY_ADDRESS
    {
        private int _notifyid;
        private int? _channel;

        private string _iata;
        private string _protocol;

        private int _state;

        private DateTime? _sentedate;
        private DateTime? _createdate;

        [GField("NOTIFY_ID", FieldTypeEnum.PK)]
        public int NotifyID
        {
            get
            {
                return _notifyid;
            }
            set
            {
                _notifyid = value;
            }
        }

        [GField("Channel")]
        public int? Channel
        {
            get
            {
                return _channel;
            }
            set
            {
                _channel = value;
            }
        }

        [GField("Protocol", FieldTypeEnum.PK)]
        public string Protocol
        {
            get
            {
                return _protocol;
            }
            set
            {
                _protocol = value;
            }
        }

        [GField("IATA", FieldTypeEnum.PK)]
        public string IATA
        {
            get
            {
                return _iata;
            }
            set
            {
                _iata = value;
            }
        }

        [GField("CreateDate")]
        public DateTime? CreateDate
        {
            get
            {
                return _createdate;
            }
            set
            {
                _createdate = value;
            }
        }

        [GField("SentDate")]
        public DateTime? SentDate
        {
            get
            {
                return _sentedate;
            }
            set
            {
                _sentedate = value;
            }
        }

        [GField("State")]
        public int State
        {
            get
            {
                return _state;
            }
            set
            {
                _state = value;
            }
        }
    }
}
